]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionDownloader: Fix check for updates with several extensions
authorJeremias Ortega <jeremias@ortega.tech>
Tue, 14 Jul 2020 04:38:25 +0000 (22:38 -0600)
committerJeremias Ortega <jeremias@ortega.tech>
Thu, 16 Jul 2020 00:26:11 +0000 (18:26 -0600)
commitf0d2509dc34b88eedba43e4537d0d4e837347d54
tree1535ea784681e341b49edcd96811debb9d5d32c7
parent95bb194356d6523aa46aafa0aeadf9b37b43415b
extensionDownloader: Fix check for updates with several extensions

When having several extensions installed checking for updates fails.
This is because we are using GET and query params and since we are
sending all the metadata of the extension the server returns 502
when the URL is too long. This error code is ignored safely.

It is only needed to send the version of the extension to check if it
has updates.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2962
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1363
js/ui/extensionDownloader.js